﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace GameEngine.PositionConverter
{
    /// <summary>
    /// South-German Draughts Position Converter
    /// As far as I know no numbered notation has been codified
    /// Uses only chess coordinates
    /// </summary>
    public class SouthGermanPositionConverter: BasePositionConverter
    {
        public override bool TryParse(string sPosition, out Position pos)
        {
            // first try the chess position parsing
            if (base.TryParseChessPosition(sPosition, out pos) == true)
            {
                return true;
            }
            else
            {
                // no codified numbered notation has been found
                throw new NotImplementedException();
            }
        }
    }
}
